<template>
    <div id="app">
		<!-- 注释 -->
        <router-view />
    </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'

// 入口文件注册所有需要拖拽的组件
const requireContext = require.context('./components/customPage/pageCmp', false, /\.vue$/)
requireContext.keys().forEach(fileName => {
    const component = requireContext(fileName).default
    Vue.component(component.name, component)
})
@Component
export default class App extends Vue {}
</script>

<style lang="scss" scoped></style>
